@import '@/app/styles/variables';

.titleBlock {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.input {
  width: 100%;
}

.twoInputs {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1;
}

.sort_container {
  align-self: self-start;
  width: 100%;
}

.btn {
  margin-top: 8px;
  margin-bottom: 8px;
}

.sort {
  cursor: pointer;
  display: flex;
  padding: 23px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid var(--simple-gray-day, #e1e1e1);
  background: var(--simple-morning, #fff);
  background: #fff;
  align-self: center;
  color: #000;
  height: 72px;
  width: 100%;
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.textarea {
  display: flex;
  width: 100%;
  height: 138px;
  padding: 16px;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  font-size: 20px;
  border: 1px solid var(--simple-gray-day, #e1e1e1);
  background: var(--simple-morning, #fff);
  resize: none;
  outline: none;
}

.chevronLeft {
  position: absolute;
  top: 32%;
  right: 17px;
  cursor: pointer;
  transition: 0.2s all;
}

.textarea::placeholder {
  color: var(--simple-gray-evening, #ababab);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.back {
  align-self: flex-start;
}

@include media(lg) {
  .twoInputs {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .inputs {
    gap: 16px;
  }

  .titleBlock {
    gap: 24px;
  }

  .sort placeholder {
    font-size: 18px;
    padding: 20px 24px;
  }
}

@include media(sm) {
  .closeCircle {
    display: none;
  }

  .title {
    margin-bottom: 14px;
  }

  .btn {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .twoInputs {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
}

@include media(xs) {
  .twoInputs {
    flex-direction: column;
    width: 100%;
    gap: 0px;
  }

  .sort {
    display: none;
  }

  .passwordBlock {
    gap: 8px;
  }

  .sort {
    max-height: 60px;
  }

  .mobileCategory {
    display: contents;
    width: 100%;
  }

  .fadedMobile {
    display: block;
    position: absolute;
    width: 100vw;
    height: 100vw;
    top: 0;
    z-index: 1002;
    height: 100vh;
    background: var(--Overlay, rgba(0, 0, 0, 0.4));
    opacity: 0.66;
  }

  .text {
    font-size: 16px;
  }

  .textarea {
    display: flex;
    width: 100%;
    height: 164px;
    padding: 16px;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid var(--simple-gray-day, #e1e1e1);
    background: var(--simple-morning, #fff);
  }

  .textarea::placeholder {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }

  .chooseItem {
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding-bottom: 16px;
    gap: 16px;
    border-bottom: 1px solid var(--simple-gray-morning, #f3f3f3);
    color: var(--simple-night, #000);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }

  .chooseCont {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
  }

  .chooseItemWithoutBorder {
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 16px;
    color: var(--simple-night, #000);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }
}
